package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.PointsExchangeCollectionConsumeTypeEnum;
import com.sc.nft.enums.PointsExchangeCollectionStatusEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;


@Data
@NoArgsConstructor
@TableName("sc_dao_ecology_points_apply_exchange_records")
public class DaoEcologyPointsApplyExchangeRecords extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * dao id
     */
    private Long daoId;
    /**
     * 藏品id
     */
    private Long collectionId;
    /**
     * 目标用户
     */
    private Long toUserId;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 申请兑换数量
     */
    private Integer applyNum;
    /**
     * 申请状态
     */
    private PointsExchangeCollectionStatusEnum applyStatus;
    /**
     * 备注
     */
    private String remark;


    /**
     * 关联id
     */
    private Long linkId;


    /**
     * 关联名称
     */
    private String linkName;

    /**
     * 消耗类型
     */
    private PointsExchangeCollectionConsumeTypeEnum consumeType;

}